package cn.dlc.com.feign.impl;

import cn.dlc.com.account.entity.Account;
import cn.dlc.com.feign.RemoteAccountService;
import org.springframework.stereotype.Component;

/**
 * @author 邓立川
 * @date 2021/1/12 17:11
 * @desc 添加当前类的描述信息
 */
@Component
public class RemoteAccountServiceImpl implements RemoteAccountService {
    @Override
    public String saveAccount(Account account) {

        System.out.println("触发了降级方法了");

        return "fallback";
    }
}
